Java Interview Preparation Guide
1. Core Java Fundamentals
OOP Concepts ⭐⭐⭐
- Encapsulation, Inheritance, Polymorphism, Abstraction
- Method overloading vs overriding
- Abstract classes vs Interfaces
- Access modifiers (private, protected, public, default)
- Static vs non-static members
- Final keyword usage
Java Memory Management ⭐⭐⭐
- Heap vs Stack memory
- Garbage Collection (GC) types and algorithms
- Memory leaks and prevention
- String pool and intern() method
- OutOfMemoryError scenarios
Exception Handling ⭐⭐⭐
- Checked vs Unchecked exceptions
- Try-catch-finally blocks
- Custom exceptions
- Exception propagation
- Best practices for exception handling
2. Collections Framework ⭐⭐⭐